package com.category.controller;

/**
 * @author mis_wu
 * @date 2021/11/28 21:58
 */

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    private static final Logger log= LoggerFactory.getLogger(TestController.class);

    @RequestMapping("/demo1")
    public String testNacos(){
        log.info("category nacos cloud");
        return "category nacos cloud!";
    }
}

